package bb.lanxing.lib.devices.ble.ble.characteristic.radar;

import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;

public final class ThreatData {
    private int threatDistance;
    private ThreatLevel threatLevel;
    private int threatSpeed;

    public static /* synthetic */ ThreatData copy$default(ThreatData threatData, int i, int i2, ThreatLevel threatLevel, int i3, Object obj) {
        if ((i3 & 1) != 0) {
            i = threatData.threatSpeed;
        }
        if ((i3 & 2) != 0) {
            i2 = threatData.threatDistance;
        }
        if ((i3 & 4) != 0) {
            threatLevel = threatData.threatLevel;
        }
        return threatData.copy(i, i2, threatLevel);
    }

    public int component1() {
        return this.threatSpeed;
    }

    public int component2() {
        return this.threatDistance;
    }

    public ThreatLevel component3() {
        return this.threatLevel;
    }

    public ThreatData copy(int i, int i2, ThreatLevel threatLevel) {
        Intrinsics.checkNotNullParameter(threatLevel, "threatLevel");
        return new ThreatData(i, i2, threatLevel);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof ThreatData threatData)) {
            return false;
        }
        return this.threatSpeed == threatData.threatSpeed && this.threatDistance == threatData.threatDistance && this.threatLevel == threatData.threatLevel;
    }

    public int hashCode() {
        return (((this.threatSpeed * 31) + this.threatDistance) * 31) + this.threatLevel.hashCode();
    }

    public String toString() {
        return "ThreatData(threatSpeed=" + this.threatSpeed + ", threatDistance=" + this.threatDistance + ", threatLevel=" + this.threatLevel + ')';
    }

    public ThreatData(int i, int i2, ThreatLevel threatLevel) {
        Intrinsics.checkNotNullParameter(threatLevel, "threatLevel");
        this.threatSpeed = i;
        this.threatDistance = i2;
        this.threatLevel = threatLevel;
    }

    public int getThreatSpeed() {
        return this.threatSpeed;
    }

    public void setThreatSpeed(int i) {
        this.threatSpeed = i;
    }

    public int getThreatDistance() {
        return this.threatDistance;
    }

    public void setThreatDistance(int i) {
        this.threatDistance = i;
    }

    public ThreatLevel getThreatLevel() {
        return this.threatLevel;
    }

    public void setThreatLevel(ThreatLevel threatLevel) {
        Intrinsics.checkNotNullParameter(threatLevel, "<set-?>");
        this.threatLevel = threatLevel;
    }
}
